load("@rules_cc//cc:defs.bzl", "cc_test")

cc_test(
    name = "boost_exception_test",
    srcs = ["boost_exception-test.cpp"],
    deps = ["@boost.test//:unit_test_main"],
)

cc_test(
    name = "custom_exception_test",
    srcs = ["custom-exception-test.cpp"],
    deps = ["@boost.test//:unit_test_main"],
)

cc_test(
    name = "errors_handling_test",
    srcs = ["errors-handling-test.cpp"],
    args = [
        "--",
        "$(rootpath //baseline-outputs:errors-handling-test.pattern)",
        "$(rootpath //baseline-outputs:errors-handling-test.pattern2)",
    ],
    data = [
        "//baseline-outputs:errors-handling-test.pattern",
        "//baseline-outputs:errors-handling-test.pattern2",
    ],
    deps = [
        "@boost.test//:unit_test_main",
        "//framework-ts:logger_for_tests",
    ],
)
